package cn.buildoncloud.labor.workermanapplet.business.modules.services;

import cn.buildoncloud.labor.workermanapplet.common.base.service.BaseService;
import cn.buildoncloud.labor.workermanapplet.common.page.Pagination;
import org.nutz.dao.entity.Record;

import java.util.List;
import java.util.Map;

public interface ProjectService extends BaseService<Map> {

    Map<String, Object> getUnitIdById(Long id);

    List<Record> listByCompany(String userId);

    /**
     * 小程序首页项目列表
     * @param userId
     * @param pageNumber
     * @param pageSize
     * @return
     */
    Pagination listByUser(String userId, Integer pageNumber, Integer pageSize);
}
